package com.anruisi.hxmes.auth.service;


import com.anruisi.hxmes.auth.entity.SysUser;

import java.util.List;

/**
*@author cmy
*@date 2020-11-06 13:29:10
*/
public interface SysUserService {
    /**
     * 根据名取对象
     * @param username
     * @return
     */
    SysUser selectUserByName(String username);

    /**
     * 取角色列表
     * @param userId
     * @return
     */
    List<String> selectSysRoleByUserId(Integer userId);

}